project(modulestatic)

find_package(Qt6 6.4 REQUIRED COMPONENTS Quick Qml)
qt_standard_project_setup()
qt_add_library(${PROJECT_NAME} STATIC)

message(STATUS "CMAKE_CURRENT_BINARY_DIR:"${CMAKE_CURRENT_BINARY_DIR})
message(STATUS "CMAKE_RUNTIME_OUTPUT_DIRECTORY:"${CMAKE_RUNTIME_OUTPUT_DIRECTORY})



qt6_add_qml_module(${PROJECT_NAME}
     # OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}
     URI "ModuleStatic"
     VERSION 1.0
     RESOURCE_PREFIX "/qt/qml"
     SOURCES
      # planbui.h
      # planbui.cpp
     QML_FILES
      Green.qml
     RESOURCES

      #
)
